/*********************************************************
 * copyright learnren.com 版权所有 
 * 开发人员：ivan.yu
 * 创建时间：2013/4/27 13:45:42
 * 描述说明：
 * 
 * 更改历史：
 * 
 * *******************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LEARNREN.COM.Entity.Enum;

namespace LEARNREN.COM.Entity
{
    public class Catalogue : EntityBase
    {
        private int _Order;

        public int Order
        {
            get { return _Order; }
            set { _Order = value; }
        }

        private string _Title;

        public string Title
        {
            get { return _Title; }
            set { _Title = value; }
        }

        private string _KeyWords;

        public string KeyWords
        {
            get { return _KeyWords; }
            set { _KeyWords = value; }
        }

        private string _Summary;

        public string Summary
        {
            get { return _Summary; }
            set { _Summary = value; }
        }

        private string _Content;
        /// <summary>
        /// 单页栏目内容
        /// </summary>
        public string Content
        {
            get { return _Content; }
            set { _Content = value; }
        }

        private bool _ReDirect;
        /// <summary>
        /// 是否转向
        /// </summary>
        public bool ReDirect
        {
            get { return _ReDirect; }
            set { _ReDirect = value; }
        }

        private string _ReDirectUrl;
        /// <summary>
        /// 要转向的地址
        /// </summary>
        public string ReDirectUrl
        {
            get { return _ReDirectUrl; }
            set { _ReDirectUrl = value; }
        }
        

        private CatalogueTypeEnum _CatalogueType;
        /// <summary>
        /// 栏目类型
        /// </summary>
        public CatalogueTypeEnum CatalogueType
        {
            get { return _CatalogueType; }
            set { _CatalogueType = value; }
        }

        private string _Path;
        /// <summary>
        /// 存储父级Id路径，形式如^1,2,4
        /// </summary>
        public string Path
        {
            get { return _Path; }
            set { _Path = value; }
        }

        private long _ParentId;
        /// <summary>
        /// 父级Id
        /// </summary>
        public long ParentId
        {
            get { return _ParentId; }
            set { _ParentId = value; }
        }

        private string _HtmlPath;
        /// <summary>
        /// 静态页面地址
        /// </summary>
        public string HtmlPath
        {
            get { return _HtmlPath; }
            set { _HtmlPath = value; }
        }

        private int _ContentCount;
        /// <summary>
        /// 内容条数
        /// </summary>
        public int ContentCount
        {
            get { return _ContentCount; }
            set { _ContentCount = value; }
        }
        
    }
}
